Ad Widget

Collapse

make install error : undefined reference to `__stack_chk_fail@GLIBC_2.4'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #1

    make install error : undefined reference to `__stack_chk_fail@GLIBC_2.4'

    System OS : CentOS 4.4

    I have successfully './configure' Zabbix 1.3.5 but fail to 'make install'
    Below is a snapshot of what happen...
    Any help will be greatly appreciated thx...

    /usr/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
    /usr/lib/libnetsnmp.so: undefined reference to `__syslog_chk@GLIBC_2.4'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/home/zabbix/zabbix/src/zabbix_server'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/home/zabbix/zabbix/src/zabbix_server'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/zabbix/zabbix/src'
    make: *** [install-recursive] Error 1
    [root@smgoh zabbix]#
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #2
    error even with net-snmp 5.4 --with-openssl=DIR

    i recompile net-snmp 5.4 using --with-openssl=DIR but i am still getting the zabbix error.

    i have the file in
    /usr/lib/libnetsnmp.so
    /usr/local/lib/libnetsnmp.so


    pls help thx

    Comment

    • BusteR81
      Senior Member
      • Apr 2007
      • 150

      #3
      check symbolic link and move BOTH files if necessary

      ls -l libnetsnmp.so

      check it's link and make sure it linked file is in same directory as libnetsnmp.so

      if this does not solve error, move BOTH files to respective DIR where zabbix find them by default

      Comment

      Working...